package middle

import (
	"gf-vben-admin/internal/service/auth"
	"github.com/gogf/gf/v2/net/ghttp"
)

func Auth(r *ghttp.Request) {
	auth.Auth().MiddlewareFunc()(r)
	r.Middleware.Next()
}
